<!--
  描述：产品分类开通品牌表table页
  @author tanghongjun
  @since 2020-08-19 11:18:36
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<!--表格id与lay-filter属性一致，统一定义为zmn-table-->
<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <!--规定复选框列置于第1列，居中显示-->
        <th lay-data="{type:'checkbox', width:50, unresize:true, align:'center', fixed:'left'}"></th>
        <th lay-data="{field:'sort', unresize:true, align:'center', edit:'text'}">排序ID</th>
        <th lay-data="{field:'brandId', unresize:true, align:'center'}">品牌ID</th>
        <th lay-data="{field:'brandName', unresize:true, align:'center'}">品牌名称</th>
        <th lay-data="{field:'type', unresize:true, align:'center'}">品牌类型</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="item:${items}">
        <td></td>
        <td></td>
        <td th:text="${item.brandId}">brandId</td>
        <td th:text="${item.name}">brandName</td>
        <td th:text="${item.type==1?'国产品牌':'国外品牌'}">type</td>
    </tr>
    </tbody>
</table>
